<template>
  <div class="box">
    <img
      src="http://nwzimg.wezhan.cn/contents/sitefiles2029/10146688/images/21129958.jpg"
      alt=""
    />
    <p>这是一只狗</p>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style scoped>
.box {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.box img {
  width: 100%;
  height: 200px;
}
</style>
